export enum ElementSimStatus {
  ACTIVE = 'ACTIVE',
  RUNNING = 'RUNNING',
  FROZEN = 'FROZEN',
}

export enum ElementSimStatusColor {
  ACTIVE = '#FF4500',
  RUNNING = '#FFF68F',
  FROZEN = '#66CD00',
}

export type AnimationActivityStatusNotice = {
  data: string;
  type: ElementSimStatus
  modelId: string
  sceneId: string
  diagramId: string
  edgeRunTime?: number // type = ACTIVE时返回，用于仿真进度条动画执行时间
}

export type AnimationInfo = {
  projectId: string
  modelId: string
  type: string
  statusType: ElementSimStatus,
  color: string
  tips?: string[]
  passText?: string // 仿真过渡动画传递的显示内容
  targetId?: string // 仿真过渡动画传递的目标id
  diagramId?:string
  edgeRunTime?: number;
}

export const VariableTipType:{[key:string]: {[key:string]: string}} = {
  zhCn: {
    ACTIVE: '进行中',
    RUNNING: '上次访问对象',
    FROZEN: '已访问',
  },
  en: {
    ACTIVE: 'Active',
    RUNNING: 'Last Visited',
    FROZEN: 'visited',
  }
};